package durak.server.model;

import durak.common.model.CommonPlayerData;
import durak.common.model.Hand;

public class Player extends CommonPlayerData {

	public enum playerType {
		HUMAN, COMPUTER
	}

	private Hand hand;
	protected playerType type;

	public Player() {
		this.hand = new Hand();
	}

	public Hand getHand() {
		return hand;
	}

	public void setHand(Hand hand) {
		this.hand = hand;
	}

	public playerType getType() {
		return type;
	}

	public void setType(playerType type) {
		this.type = type;
	}

	public void incrementLoses() {
		loses++;
	}

}
